@layout("/common/_container.html"){
<style>.imageBox > div{flex:1;}.imageBox > div select{width:60%;height:28px;}.btnBox{position:fixed;bottom:0;width:100%;padding:10px 0;text-align:center;}.btnBox>button{margin:0;color:white;background:#2b6594;padding:3px 24px;}</style>
<div class="ibox float-e-margins">
    <div style="display: none">
        <input type="hidden" id="reservationsId" value="${reservationsId}">
        <input type="hidden" id="customerId" value="${customerId}">
    </div>
    <div>
        <div style="background: #6090b8;color: white;padding: 5px 10px;">上传影像</div>
        <div style="padding:20px 15px 10px;display: flex" class="imageBox">
            <div>
                <span>就诊时间：</span>
                <select name="finnallyTime" id="finnallyTime">
                    @for(item in customerList){
                    <option value="${item.arrivalTime}">${item.arrivalTime}</option>
                    @}
                </select>
            </div>
            <div>
                <span>选择项目：</span>
                <select name="payServiceId" id="payServiceId">
                    <option value="">请选择</option>
                    @for(item in reservationsInfo){
                    <option value="${item.payServiceId}">${item.payServiceName}</option>
                    @}
                </select>
            </div>
            <div>
                <span>影像类型：</span>
                <select id="iconType" name="iconType" onchange="iconTypeChange()">
                    <option value="请选择">请选择</option>
                    <option value="全景">全景</option>
                    <option value="小牙片">小牙片</option>
                    <option value="CBCT">CBCT</option>
                    <option value="照片">照片</option>
                    <option value="头侧">头侧</option>
                    <option value="知情同意书">知情同意书</option>
                    <option value="其他">其他</option>
                </select>
            </div>
        </div>
        <div style="padding-left: 15px;">
            <p>备注</p>
            <textarea name="remarks" id="remarks" style="width: 80%;height: 70px;" ></textarea>
        </div>
        <div class="btnBox">
            <div id="avatarBtnId" class="webuploader-container" style="display: inline-block">
                <button class="btn" type="button" ondblclick="uploadicon()" onclick="uploadicon()">上传影像</button>
            </div>
            <button class="btn" type="button" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name))">取消</button>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/doctorLooked/icon-upload-object1.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/doctorLooked/uploadIcon1.js?v=20200718"></script>
@}
